#ifndef _LEVELPROGRESSIONBAR_H_
#define _LEVELPROGRESSIONBAR_H_

#include <SFML/Graphics.hpp>

#include "Panel.hpp"


///////////////////////////////////////////////////////
/// \brief Level Progression Bar.
///
/// Displayed at the bottom of the screen.
/// Tells which level is currently played, and gives
/// informations about those to come.
///
///////////////////////////////////////////////////////
class LevelsProgressionBar : public Panel
{
public:
    ///////////////////////////////////////////////////////
    /// \brief Construct the level progress bar.
    ///
    /// \param window Window where the bar must be displayed.
    ///
    ///////////////////////////////////////////////////////
    LevelsProgressionBar(sf::RenderWindow* window);

    ///////////////////////////////////////////////////////
    /// \brief Destructor.
    ///
    ///////////////////////////////////////////////////////
    ~LevelsProgressionBar();

    ///////////////////////////////////////////////////////
    /// \brief Displays the level progression bar.
    ///
    ///////////////////////////////////////////////////////
    void render();

    void handleEvents(const sf::Event& );
};


#endif /* _LEVELPROGRESSIONBAR_H_ */
